.video-detail-page {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw !important;
  height: 100vh !important;
  overflow: hidden;
  background: #000;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.video-player {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.video-detail-sidebar {
  position: absolute;
  right: 1.2rem;
  top: 30%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.icon-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  font-size: 1.1rem;
}

.icon {
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
}

.icon-text {
  font-size: 0.95rem;
}

.video-detail-bottom {
  position: absolute;
  left: 1rem;
  bottom: 2.5rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #fff;
  font-size: 1rem;
}

.video-detail-bottom .avatar {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
}

.username {
  font-weight: bold;
  margin-right: 0.5rem;
}

.follow-btn {
  background: #ff2442;
  color: #fff;
  border: none;
  border-radius: 1rem;
  padding: 0.2rem 0.9rem;
  font-size: 0.95rem;
  margin-right: 1rem;
  cursor: pointer;
}

.desc {
  margin-left: 0.5rem;
  font-size: 0.95rem;
  max-width: 8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.music {
  margin-left: 0.5rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

.corner-avatar {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.6rem;
  border: 2px solid #fff;
  object-fit: cover;
  z-index: 2;
}

.back-btn {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  z-index: 10;
  background: rgba(0,0,0,0.3);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 2.2rem;
  height: 2.2rem;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-btn {
  position: absolute;
  top: 1.2rem;
  left: 4rem;
  z-index: 10;
  background: #ff2442;
  color: #fff;
  border: none;
  border-radius: 1rem;
  padding: 0.3rem 1rem;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.short-video-page {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

.video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-actions {
  position: absolute;
  right: 20px;
  top: 40%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.video-actions button {
  background: rgba(255,255,255,0.7);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 20px;
  cursor: pointer;
}

.video-user {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.video-user img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.follow-btn {
  background: #ff2d55;
  color: #fff;
  border: none;
  border-radius: 16px;
  padding: 4px 12px;
  margin-left: 10px;
  cursor: pointer;
}

.comment-modal {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background: rgba(0,0,0,0.5);
  z-index: 10000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.comment-panel {
  width: 100vw;
  max-width: 430px;
  background: #fff;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.12);
  min-height: 40vh;
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: commentUp 0.25s cubic-bezier(.4,0,.2,1);
}

@keyframes commentUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.comment-panel-header {
  padding: 12px 16px 0 16px;
  font-weight: bold;
  font-size: 17px;
  border-bottom: 1px solid #f2f2f2;
}

.comment-list {
  flex: 1;
  overflow-y: auto;
  padding: 10px 16px 10px 16px;
  background: #fff;
}

.comment-item {
  border-bottom: 1px solid #f2f2f2;
  padding: 8px 0;
  color: #222;
  font-size: 15px;
}

.comment-empty {
  color: #aaa;
  text-align: center;
  margin: 30px 0;
}

.comment-input-bar {
  display: flex;
  align-items: center;
  border-top: 1px solid #f2f2f2;
  padding: 8px 12px;
  background: #fff;
}

.comment-input-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  padding: 8px 10px;
  border-radius: 16px;
  background: #f5f5f5;
  margin-right: 8px;
}

.comment-input-bar button {
  background: #ff2d55;
  color: #fff;
  border: none;
  border-radius: 16px;
  padding: 6px 16px;
  font-size: 15px;
  cursor: pointer;
}

.comment-close {
  position: absolute;
  right: 16px;
  top: 10px;
  font-size: 22px;
  color: #888;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2;
} 